<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>De Stijl: /Users/Piro/Dropbox/destijl/c/headers/dcamera.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">De Stijl
   
   </div>
   <div id="projectbrief">Librairie pour le projet De Stijl</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('dcamera_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">/Users/Piro/Dropbox/destijl/c/headers/dcamera.h</div>  </div>
</div>
<div class="contents">
<a href="dcamera_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef CAMERA_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define CAMERA_H</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="dimage_8h.html" title="Déclaration de la classe DImage.">dimage.h</a>&quot;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;opencv/highgui.h&gt;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00019"></a>00019 <span class="preprocessor">#endif</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00027"></a><a class="code" href="struct_d_camera.html">00027</a>     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> {
<a name="l00028"></a><a class="code" href="struct_d_camera.html#a1c7e0dbb38d41a3e0b19f3f0aeddbbea">00028</a>         void(*<a class="code" href="struct_d_camera.html#a1c7e0dbb38d41a3e0b19f3f0aeddbbea">free</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This); 
<a name="l00029"></a><a class="code" href="struct_d_camera.html#a99856a6741d588c366e620485f25213c">00029</a>         void(*<a class="code" href="struct_d_camera.html#a99856a6741d588c366e620485f25213c">print</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This); 
<a name="l00030"></a><a class="code" href="struct_d_camera.html#a28c14150cbbb1d10415ec7c4c89720c0">00030</a>         void(*<a class="code" href="struct_d_camera.html#a28c14150cbbb1d10415ec7c4c89720c0">open</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This); 
<a name="l00031"></a><a class="code" href="struct_d_camera.html#aa2b3a2d0b6740e45819a56ed05032d08">00031</a>         void(*<a class="code" href="struct_d_camera.html#aa2b3a2d0b6740e45819a56ed05032d08">open_number</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This, <span class="keywordtype">int</span> number); 
<a name="l00032"></a><a class="code" href="struct_d_camera.html#a92a838cd0f600346c157a168871a7a29">00032</a>         void(*<a class="code" href="struct_d_camera.html#a92a838cd0f600346c157a168871a7a29">close</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This); 
<a name="l00033"></a><a class="code" href="struct_d_camera.html#a77c554942d41b69951515b68a437fe25">00033</a>         void(*<a class="code" href="struct_d_camera.html#a77c554942d41b69951515b68a437fe25">get_frame</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This, <a class="code" href="struct_d_image.html" title="DImage est un objet contenant la description d&#39;une image.">DImage</a> * img); 
<a name="l00034"></a><a class="code" href="struct_d_camera.html#a16f424f9e0bd336a61906ffc0ac194c5">00034</a>         CvCapture* <a class="code" href="struct_d_camera.html#a16f424f9e0bd336a61906ffc0ac194c5">mCapture</a>; 
<a name="l00035"></a><a class="code" href="struct_d_camera.html#ac46baf984d415286039f089aef03586e">00035</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_camera.html#ac46baf984d415286039f089aef03586e">mIndice</a>; 
<a name="l00036"></a>00036     } <a class="code" href="dcamera_8h.html#ac55261ba723abc1d20af72b223a08522">DCamera</a>;
<a name="l00037"></a>00037 
<a name="l00043"></a>00043     <a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a>* <a class="code" href="dcamera_8h.html#a3f44d34b99ee2f12059b449f79ddd4e7" title="Instanciation de l&#39;objet DCamera.">d_new_camera</a>(<span class="keywordtype">void</span>);
<a name="l00044"></a>00044 
<a name="l00050"></a>00050     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#a93f62ad42c0abcf0e11cd4fe09cb023e" title="Fonction pour désallouer une instance de l&#39;objet DCamera.">d_camera_free</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This);
<a name="l00051"></a>00051 
<a name="l00057"></a>00057     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#a983fdbd6142bf7a511af0105ed4947b9" title="Affichage d&#39;une instance d&#39;objet DCamera.">d_camera_print</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This);
<a name="l00058"></a>00058 
<a name="l00064"></a>00064     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#a579cc3dd252db70be3e3370cbeb67b05" title="Ouverture de la camera dont le numéro est contenu dans mIndice (par défaut -1).">d_camera_open</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This);
<a name="l00065"></a>00065     
<a name="l00066"></a>00066     
<a name="l00073"></a>00073     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#a04d4a17c84ecd0e50f583bc4df6d4ead" title="Ouverture de la camera spécifiée par son numéro.">d_camera_open_number</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This, <span class="keywordtype">int</span> number);
<a name="l00074"></a>00074 
<a name="l00080"></a>00080     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#ac71ef180de8439c9e6e45c57ac0dc24c" title="Fermeture de la camera.">d_camera_close</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This);
<a name="l00081"></a>00081 
<a name="l00088"></a>00088     <span class="keywordtype">void</span> <a class="code" href="dcamera_8h.html#a9de0bb2a98f23ba23b7cae80f207b1cf" title="Capture d&#39;une image à partir de la camera.">d_camera_get_frame</a>(<a class="code" href="struct_d_camera.html" title="DCamera est un objet contenant la description d&#39;une camera servant à la capture d&#39;une image...">DCamera</a> *This, <a class="code" href="struct_d_image.html" title="DImage est un objet contenant la description d&#39;une image.">DImage</a> *img);
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>}
<a name="l00092"></a>00092 <span class="preprocessor">#endif</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span>
<a name="l00094"></a>00094 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dcamera_8h.html">dcamera.h</a>      </li>

    <li class="footer">Generated on Tue Apr 24 2012 14:13:31 for De Stijl by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6 </li>
   </ul>
 </div>


</body>
</html>
